﻿using EntityFrameworkSample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EntityFrameworkSample.Adapters.Mock
{
    public class HomeMockAdapter : IHomeAdapter
    {
        public EnrollmentViewModel GetEnrollmentViewModel()
        {
            EnrollmentViewModel model = new EnrollmentViewModel();

            model.Enrollments = new List<EnrollmentItemViewModel>();

            model.Enrollments.Add(new EnrollmentItemViewModel
            {
                CourseName = "Mock Math",
                FirstName = "Mock Nick",
                LastName = "Mock Brittain",
                SemesterEndDate = DateTime.Now,
                SemesterStartDate = DateTime.Now
            });

            model.Enrollments.Add(new EnrollmentItemViewModel
            {
                CourseName = "Mock English",
                FirstName = "Mock Jose",
                LastName = "Mock Castro",
                SemesterEndDate = DateTime.Now,
                SemesterStartDate = DateTime.Now
            });


            return model;
        }


        public void CreateStudent(StudentViewModel model)
        {
            throw new NotImplementedException();
        }


        public void UpdateStudent(StudentViewModel model)
        {
            throw new NotImplementedException();
        }


        public StudentViewModel GetStudentViewModel(int id)
        {
            throw new NotImplementedException();
        }
    }
}